/*
 * Copyright (c) 2002 Boris Pruessmann and others. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Common Public License v0.5 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors: Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.perforce.ui;

import org.eclipse.jface.resource.ImageDescriptor;

import java.util.List;

/**
 * @version $Revision: 488 $
 * @author <a href="mailto:bpruessmann@users.sourceforge.net">Boris
 *         Pruessmann</a>
 */
class PerforceDecoration {
  // ---------------------------------------------------------------------------
  // Private Variables

  /** Contains the overlay images. */
  private List<ImageDescriptor> overlays;
  /** Stores the locations. */
  private int[] locations;

  // -------------------------------------------------------------------------
  // Public Constructors

  /** Constructor for PerforceDecoration. */
  public PerforceDecoration() {
    this.overlays = null;
    this.locations = null;
  }

  //----------------------------------------------------------------------------
  // -- Public Methods


  /**
   * Call this method to get the list of overlays.
   * 
   * @return list of overlays.
   */
  public List<ImageDescriptor> getOverlays() {
    return overlays;
  }

  /**
   * Call this method to retriebe the locations of the overlays.
   * 
   * @return the locations
   */
  public int[] getLocations() {
    return locations;
  }

  /**
   * Call this method to set the list of overlays.
   * 
   * @param overlays the new overlays.
   */
  public void setOverlays(List<ImageDescriptor> overlays) {
    this.overlays = overlays;
  }

  /**
   * Call this method to set the locations.
   * 
   * @param locations the new locations
   */
  public void setLocations(int[] locations) {
    this.locations = locations;
  }
}
